By obtaining a data command via OnConfigureSelectCommand(TDataCommand,OrderBy,Paging) and then running that command, this inversion control method handles the request to obtain all TEntity entities in the read segment defined by Paging and in the order defined by OrderBy.

Namespace: Keystone.Carbonite.Diamant
Assembly: Keystone.Carbonite.Diamant (in Keystone.Carbonite.Diamant.dll)

protected override IEnumerable<TEntity> OnGet( 
OrderBy orderingCriteria
Paging pagingCriteria 
)
This language is not supported or no code example is available.

Parameters

orderingCriteria

Type: OrderBy

The ordering criteria.

pagingCriteria

Type: Paging

The paging criteria.

Return Value

All entities paged and ordered.
Exception type Condition

ArgumentException

If a null reference (Nothing in Visual Basic) value is given for the arguments.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono